
 
 F u n c t i o n :   h i d e B a c k g r o u n d ( d o m E l e m e n t T o E x c l u d e ) 
 
 
 
 D e s c r i p t i o n :   R e m o v e s   b a c k g r o u n d   c o n t e n t   f r o m   t h e   a c c e s s i b i l i t y   t r e e   s o   t h a t   n o n - s i g h t e d   s c r e e n   r e a d e r   u s e r s   c a n n o t   p e r c e i v e   i t   d u r i n g   n a v i g a t i o n . 
 
 
 
 R e t u r n s :   d o m E l e m e n t ,   o r   $ A   o b j e c t   i f   c h a i n e d . 
 
 
 
 N o t e :   T h e   h i d e B a c k g r o u n d ( )   f u n c t i o n   h a s   n o   i m p a c t   o n   v i s u a l   l a y o u t ,   b u t   r a t h e r ,   w i l l   p r e v e n t   b a c k g r o u n d   c o n t e n t   f r o m   b e i n g   p e r c e i v e d   o r   n a v i g a t e d   b y   n o n - s i g h t e d   s c r e e n   r e a d e r   u s e r s .   T h i s   f u n c t i o n   i n c l u d e s   s a f e t y   f e a t u r e s   t o   e n s u r e   t h a t   t h e   a c c i d e n t a l   h i d i n g   o f   t h e   e n t i r e   p a g e   f r o m   s c r e e n   r e a d e r   u s e r s   c a n n o t   o c c u r .   I f   d o m E l e m e n t T o E x c l u d e   r e f e r e n c e s   a n   e l e m e n t   t h a t   i s   n o t   i n   t h e   c o r r e c t   D O M   l o c a t i o n   t o   e n s u r e   a c c e s s i b i l i t y ,   i t   w i l l   a u t o m a t i c a l l y   b e   a p p e n d e d   t o   d o c u m e n t . b o d y   t o   e n s u r e   a c c e s s i b i l i t y   f o r   n o n - s i g h t e d   s c r e e n   r e a d e r   u s e r s .   I f   n o   d o m E l e m e n t T o E x c l u d e   i s   s p e c i f i e d ,   n o t h i n g   w i l l   b e   h i d d e n . 
 
 
 
 E x a m p l e : 
 
 
 
 / /   H i d e   t h e   b a c k g r o u n d   c o n t e n t   s o   t h a t   o n l y   t h e   f o r e g r o u n d   d i a l o g   c o n t a i n e r   e l e m e n t   i s   p e r c e i v a b l e   a n d   n a v i g a b l e   f o r   n o n - s i g h t e d   s c r e e n   r e a d e r   u s e r s . 
 
 
 
 $ A . h i d e B a c k g r o u n d ( d i a l o g C o n t a i n e r E l e m e n t T o E x c l u d e ) ; 
 
 